<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>

<html>
<head>
	<title>个人资料</title>
	<meta name="decorator" content="default"/>
<body class="childrenBody">
	 <form:form id="inputForm" modelAttribute="user" action="${ctx}/sys/user/info" method="post" >
		<sys:message content="${message}"/>
		<div class="user_left">
			<div class="layui-form-item">
				<label class="layui-form-label">登录名</label>
				<div class="layui-input-inline layui-input-inline-one ">
					<form:input id="loginName" path="loginName" readonly="true"  placeholder="请输入登录名" class="layui-input layui-disabled"/>
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">用户角色</label>
				<div class="layui-input-inline layui-input-inline-one">
				  <form:input id="roleNames" path="roleNames" readonly="true" class="layui-input layui-disabled"/>
				</div>
			</div>
			
			<div class="layui-form-item">
				<label class="layui-form-label">姓名</label>
				<div class="layui-input-inline layui-input-inline-one">
					<input class="layui-input" name="name" value="${user.name}"  placeholder="请输入姓名" type="text">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">电话</label>
				<div class="layui-input-inline layui-input-inline-one">
				    <form:input path="phone"  placeholder="请输入联系电话" htmlEscape="false" maxlength="100" class="layui-input"/>
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">手机</label>
				<div class="layui-input-inline layui-input-inline-one">
				    <form:input path="mobile" placeholder="请输入联系手机" htmlEscape="false" maxlength="100" class="layui-input mobile"/>
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">Email</label>
				<div class="layui-input-inline layui-input-inline-one">
				    <form:input path="email" placeholder="请输入Email" htmlEscape="false" maxlength="100" class="layui-input email"/>
				</div>
			</div>
			
	        <div class="layui-form-item">
				<label class="layui-form-label">备注</label>
				<div class="layui-input-inline layui-input-inline-one">
				    <form:textarea path="remarks" htmlEscape="false" rows="4" maxlength="200"  class="layui-textarea"/>
				</div>
			</div>
		</div>
			<div class="layui-form-item" style="margin-left: 5%;">
			    <div class="layui-input-block">
			       	<button class="layui-btn" type="submit">保存</button>
			    </div>
		    </div>
	</form:form>
</body>
</html>
